﻿<Window x:Class="KinectBlobCounter.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Kinect Blob Counter" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <Image Name="ImageColor"
               RenderTransformOrigin="0.5,0.5" Grid.Column="0">
        </Image>    
        <StackPanel Grid.Column="1" Margin="2" Width="220">
            <TextBlock Background="LightGray" Text="Set the Range: Start and End Points (In mm)" Padding="10"/>
            <TextBlock Text="Minimum Distance" Padding="10"/>
            <Slider  Width="200" Minimum="0" Value="10" Maximum="10000" Margin="5"  x:Name="sliderMin" Padding="10"/>
            <TextBlock Text="Maximum Distance" Padding="10"/>
            <Slider Width="200" Minimum="0" Value="2000" Maximum="10000" Margin="5" x:Name="sliderMax" Padding="10"/>
            <TextBlock Text="Highlight Type" Padding="10"/>
            <ComboBox x:Name="cmbHighlight">
                <ComboBox.Items>
                    <ComboBoxItem>ConvexHull</ComboBoxItem>
                    <ComboBoxItem>LeftAndRightEdges</ComboBoxItem>
                    <ComboBoxItem>TopAndBottomEdges</ComboBoxItem>
                    <ComboBoxItem>Quadrilateral</ComboBoxItem>                   
                </ComboBox.Items>
            </ComboBox>
            <TextBlock Background="LightGray" Text="Info" Margin="0,20,0,0" Padding="10"/>
            <TextBlock TextWrapping="Wrap" x:Name="txtDistance" Text="" Padding="10"/>
            <TextBlock TextWrapping="Wrap" x:Name="txtInfo" Text="" Padding="10"/>

        </StackPanel>
    </Grid>
</Window>
